package com.cookbook.database.data;

import com.cookbook.database.model.User;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {
    void insert(@Param("user") User user);
    User selectWithId(Integer userId);
    User selectWithUsername(@Param("username") String username);
}